package com.neuedu.outpatient01.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.neuedu.outpatient01.entity.Disease;
import com.neuedu.outpatient01.mapper.DiseaseMapper;

@Transactional
@Service
public class DiseaseServiceImpl implements DiseaseService{
	
	@Autowired
	private DiseaseMapper dao;
	@Override
	public Disease inquirediseaseID(String d) {
		// TODO Auto-generated method stub
		return dao.inquirediseaseID(d);
	}
	@Override
	public Disease inquirediseaseName(int i) {
		// TODO Auto-generated method stub
		return dao.inquirediseaseName(i);
	}

}
